logo
Expand description

Types for loading and managing AWS access credentials for API requests.

Modules

Credential Claims module.

Structs

Wrapper for ProvideAwsCredentials that caches the credentials returned by the wrapped provider. Each time the credentials are accessed, they are checked to see if they have expired, in which case they are retrieved from the wrapped provider again.

AWS API access credentials, including access key, secret key, token (for IAM profiles), expiration timestamp, and claims from federated login.

Provides AWS credentials from multiple possible sources using a priority order.

Provides AWS credentials from a task’s IAM role.

Represents an Error that has occured during the fetching Credentials Phase.

Wraps a ChainProvider in an AutoRefreshingProvider.

Provides AWS credentials from environment variables.

Provides AWS credentials from a resource’s IAM role.

Provides AWS credentials from a profile in a credentials file, or from a credential process.

Newtype (pattern) to protect secret credentials stored as Strings.

Provides AWS credentials from statically/programmatically provided strings.

Enums

Variable is an abstraction over parameters to credential providers, allowing to abstract on how (source) and when (time) parameter values are resolved. A lot of credentials providers use external information sources such as environment variables or files to obtain parameter values needed to produce AWS credentials.

Traits

Representation of anonymity

A trait for types that produce AwsCredentials.